﻿// MT300




using Little.Soldier.SWIFT;
using Little.Soldier.SWIFT.Definition;
using System.Collections.Generic;
using System.ComponentModel;

namespace Little.Soldier.SWIFT.Messages.Category3
{
  public class MT300 : SwiftMessage
  {
    private static SwiftMessageDefinition MessageDefinition;
    private static SwiftTagSequenceDefinition U0002;
    private static SwiftTagDefinition U0003;
    private static SwiftTagSubItemDefinition U0004;
    private static SwiftTagDefinition U0005;
    private static SwiftTagSubItemDefinition U0006;
    private static SwiftTagDefinition U0007;
    private static SwiftTagSubItemDefinition U0008;
    private static SwiftTagDefinition U000E;
    private static SwiftTagSubItemDefinition U000F;
    private static SwiftTagDefinition U0010;
    private static SwiftTagSubItemDefinition U0011;
    private static SwiftTagDefinition U0012;
    private static SwiftTagDefinition U0013;
    private static SwiftTagSubItemDefinition U0014;
    private static SwiftTagDefinition U0015;
    private static SwiftTagSubItemDefinition U0016;
    private static SwiftTagChoiceDefinition U0017;
    private static SwiftTagDefinition U0018;
    private static SwiftTagSubItemDefinition U0019;
    private static SwiftTagSubItemDefinition U001A;
    private static SwiftTagDefinition U001B;
    private static SwiftTagSubItemDefinition U001C;
    private static SwiftTagSubItemDefinition U001D;
    private static SwiftTagDefinition U001E;
    private static SwiftTagSubItemDefinition U001F;
    private static SwiftTagChoiceDefinition U007F;
    private static SwiftTagDefinition U0080;
    private static SwiftTagSubItemDefinition U0081;
    private static SwiftTagSubItemDefinition U0082;
    private static SwiftTagDefinition U0083;
    private static SwiftTagSubItemDefinition U0084;
    private static SwiftTagSubItemDefinition U0086;
    private static SwiftTagDefinition U0087;
    private static SwiftTagSubItemDefinition U0088;
    private static SwiftTagChoiceDefinition U0089;
    private static SwiftTagDefinition U008A;
    private static SwiftTagSubItemDefinition U008B;
    private static SwiftTagSubItemDefinition U008C;
    private static SwiftTagDefinition U008D;
    private static SwiftTagSubItemDefinition U008E;
    private static SwiftTagSubItemDefinition U008F;
    private static SwiftTagDefinition U0090;
    private static SwiftTagSubItemDefinition U0091;
    private static SwiftTagDefinition U0092;
    private static SwiftTagSequenceDefinition U0093;
    private static SwiftTagDefinition U0094;
    private static SwiftTagSubItemDefinition U0095;
    private static SwiftTagDefinition U0096;
    private static SwiftTagSubItemDefinition U0097;
    private static SwiftTagDefinition U0098;
    private static SwiftTagSubItemDefinition U0099;
    private static SwiftTagDefinition U009A;
    private static SwiftTagSubItemDefinition U009B;
    private static SwiftTagSequenceDefinition U009C;
    private static SwiftTagDefinition U009D;
    private static SwiftTagSubItemDefinition U009E;
    private static SwiftTagSubItemDefinition U009F;
    private static SwiftTagChoiceDefinition U0001U0002;
    private static SwiftTagDefinition U0002U0002;
    private static SwiftTagSubItemDefinition U0003U0002;
    private static SwiftTagSubItemDefinition U0004U0002;
    private static SwiftTagDefinition U0005U0002;
    private static SwiftTagSubItemDefinition U0006U0002;
    private static SwiftTagSubItemDefinition U0007U0002;
    private static SwiftTagDefinition U0008U0002;
    private static SwiftTagChoiceDefinition U000EU0002;
    private static SwiftTagDefinition U000FU0002;
    private static SwiftTagSubItemDefinition U0010U0002;
    private static SwiftTagSubItemDefinition U0011U0002;
    private static SwiftTagDefinition U0012U0002;
    private static SwiftTagSubItemDefinition U0013U0002;
    private static SwiftTagSubItemDefinition U0014U0002;
    private static SwiftTagDefinition U0015U0002;
    private static SwiftTagChoiceDefinition U0016U0002;
    private static SwiftTagDefinition U0017U0002;
    private static SwiftTagSubItemDefinition U0018U0002;
    private static SwiftTagSubItemDefinition U0019U0002;
    private static SwiftTagDefinition U001AU0002;
    private static SwiftTagSubItemDefinition U001BU0002;
    private static SwiftTagSubItemDefinition U001CU0002;
    private static SwiftTagDefinition U001DU0002;
    private static SwiftTagSequenceDefinition U001EU0002;
    private static SwiftTagDefinition U001FU0002;
    private static SwiftTagSubItemDefinition U007FU0002;
    private static SwiftTagSubItemDefinition U0080U0002;
    private static SwiftTagChoiceDefinition U0081U0002;
    private static SwiftTagDefinition U0082U0002;
    private static SwiftTagSubItemDefinition U0083U0002;
    private static SwiftTagSubItemDefinition U0084U0002;
    private static SwiftTagDefinition U0086U0002;
    private static SwiftTagSubItemDefinition U0087U0002;
    private static SwiftTagSubItemDefinition U0088U0002;
    private static SwiftTagDefinition U0089U0002;
    private static SwiftTagChoiceDefinition U008AU0002;
    private static SwiftTagDefinition U008BU0002;
    private static SwiftTagSubItemDefinition U008CU0002;
    private static SwiftTagSubItemDefinition U008DU0002;
    private static SwiftTagDefinition U008EU0002;
    private static SwiftTagSubItemDefinition U008FU0002;
    private static SwiftTagSubItemDefinition U0090U0002;
    private static SwiftTagDefinition U0091U0002;
    private static SwiftTagChoiceDefinition U0092U0002;
    private static SwiftTagDefinition U0093U0002;
    private static SwiftTagSubItemDefinition U0094U0002;
    private static SwiftTagSubItemDefinition U0095U0002;
    private static SwiftTagDefinition U0096U0002;
    private static SwiftTagSubItemDefinition U0097U0002;
    private static SwiftTagSubItemDefinition U0098U0002;
    private static SwiftTagDefinition U0099U0002;
    private static SwiftTagChoiceDefinition U009AU0002;
    private static SwiftTagDefinition U009BU0002;
    private static SwiftTagSubItemDefinition U009CU0002;
    private static SwiftTagSubItemDefinition U009DU0002;
    private static SwiftTagDefinition U009EU0002;
    private static SwiftTagSubItemDefinition U009FU0002;
    private static SwiftTagSubItemDefinition U0001U0003;
    private static SwiftTagDefinition U0002U0003;
    private static SwiftTagSubItemDefinition U0003U0003;
    private static SwiftTagSequenceDefinition U0004U0003;
    private static SwiftTagDefinition U0005U0003;
    private static SwiftTagSubItemDefinition U0006U0003;
    private static SwiftTagDefinition U0007U0003;
    private static SwiftTagDefinition U0008U0003;
    private static SwiftTagSubItemDefinition U000EU0003;
    private static SwiftTagSubItemDefinition U000FU0003;
    private static SwiftTagSubItemDefinition U0010U0003;
    private static SwiftTagChoiceDefinition U0011U0003;
    private static SwiftTagDefinition U0012U0003;
    private static SwiftTagSubItemDefinition U0013U0003;
    private static SwiftTagSubItemDefinition U0014U0003;
    private static SwiftTagDefinition U0015U0003;
    private static SwiftTagSubItemDefinition U0016U0003;
    private static SwiftTagSubItemDefinition U0017U0003;
    private static SwiftTagDefinition U0018U0003;
    private static SwiftTagSubItemDefinition U0019U0003;
    private static SwiftTagSubItemDefinition U001AU0003;
    private static SwiftTagDefinition U001BU0003;
    private static SwiftTagSubItemDefinition U001CU0003;
    private static SwiftTagChoiceDefinition U001DU0003;
    private static SwiftTagDefinition U001EU0003;
    private static SwiftTagSubItemDefinition U001FU0003;
    private static SwiftTagSubItemDefinition U007FU0003;
    private static SwiftTagDefinition U0080U0003;
    private static SwiftTagSubItemDefinition U0081U0003;
    private static SwiftTagSubItemDefinition U0082U0003;
    private static SwiftTagDefinition U0083U0003;
    private static SwiftTagSubItemDefinition U0084U0003;
    private static SwiftTagSubItemDefinition U0086U0003;
    private static SwiftTagDefinition U0087U0003;
    private static SwiftTagSubItemDefinition U0088U0003;
    private static SwiftTagChoiceDefinition U0089U0003;
    private static SwiftTagDefinition U008AU0003;
    private static SwiftTagSubItemDefinition U008BU0003;
    private static SwiftTagSubItemDefinition U008CU0003;
    private static SwiftTagDefinition U008DU0003;
    private static SwiftTagSubItemDefinition U008EU0003;
    private static SwiftTagSubItemDefinition U008FU0003;
    private static SwiftTagDefinition U0090U0003;
    private static SwiftTagSubItemDefinition U0091U0003;
    private static SwiftTagDefinition U0092U0003;
    private static SwiftTagSubItemDefinition U0093U0003;
    private static SwiftTagSubItemDefinition U0094U0003;
    private static SwiftTagDefinition U0095U0003;
    private static SwiftTagSubItemDefinition U0096U0003;
    private static SwiftTagDefinition U0097U0003;
    private static SwiftTagSubItemDefinition U0098U0003;
    private static SwiftTagDefinition U0099U0003;
    private static SwiftTagSubItemDefinition U009AU0003;
    private static SwiftTagSubItemDefinition U009BU0003;
    private static SwiftTagSubItemDefinition U009CU0003;
    private static SwiftTagSubItemDefinition U009DU0003;
    private static SwiftTagSubItemDefinition U009EU0003;
    private static SwiftTagSubItemDefinition U009FU0003;
    private static SwiftTagSequenceDefinition U0001U0004;
    private static SwiftTagDefinition U0002U0004;
    private static SwiftTagSubItemDefinition U0003U0004;
    private static SwiftTagSequenceDefinition U0004U0004;
    private static SwiftTagDefinition U0005U0004;
    private static SwiftTagSubItemDefinition U0006U0004;
    private static SwiftTagDefinition U0007U0004;
    private static SwiftTagSubItemDefinition U0008U0004;
    private static SwiftTagSubItemDefinition U000EU0004;
    private static SwiftTagChoiceDefinition U000FU0004;
    private static SwiftTagDefinition U0010U0004;
    private static SwiftTagSubItemDefinition U0011U0004;
    private static SwiftTagSubItemDefinition U0012U0004;
    private static SwiftTagDefinition U0013U0004;
    private static SwiftTagSubItemDefinition U0014U0004;
    private static SwiftTagSubItemDefinition U0015U0004;
    private static SwiftTagDefinition U0016U0004;
    private static SwiftTagChoiceDefinition U0017U0004;
    private static SwiftTagDefinition U0018U0004;
    private static SwiftTagSubItemDefinition U0019U0004;
    private static SwiftTagSubItemDefinition U001AU0004;
    private static SwiftTagDefinition U001BU0004;
    private static SwiftTagSubItemDefinition U001CU0004;
    private static SwiftTagSubItemDefinition U001DU0004;
    private static SwiftTagDefinition U001EU0004;
    private static SwiftTagChoiceDefinition U001FU0004;
    private static SwiftTagDefinition U007FU0004;
    private static SwiftTagSubItemDefinition U0080U0004;
    private static SwiftTagSubItemDefinition U0081U0004;
    private static SwiftTagDefinition U0082U0004;
    private static SwiftTagSubItemDefinition U0083U0004;
    private static SwiftTagSubItemDefinition U0084U0004;
    private static SwiftTagDefinition U0086U0004;
    private static SwiftTagChoiceDefinition U0087U0004;
    private static SwiftTagDefinition U0088U0004;
    private static SwiftTagSubItemDefinition U0089U0004;
    private static SwiftTagSubItemDefinition U008AU0004;
    private static SwiftTagDefinition U008BU0004;
    private static SwiftTagSubItemDefinition U008CU0004;
    private static SwiftTagSubItemDefinition U008DU0004;
    private static SwiftTagDefinition U008EU0004;
    private static SwiftTagSubItemDefinition U008FU0004;
    private static SwiftTagDefinition U0090U0004;
    private static SwiftTagSubItemDefinition U0091U0004;

    [Description("General Information")]
    public MT300.SequenceAClass SequenceA
    {
      get
      {
        return new MT300.SequenceAClass((SwiftElement) this, 0, false);
      }
    }

    [Description("Transaction Details")]
    public MT300.SequenceBClass SequenceB
    {
      get
      {
        return new MT300.SequenceBClass((SwiftElement) this, 0, false);
      }
    }

    [Description("Optional General Information")]
    public MT300.SequenceCClass SequenceC
    {
      get
      {
        MT300.SequenceCClass sequenceCclass = new MT300.SequenceCClass((SwiftElement) this, 0, false);
        if (this.ListTags((SwiftElement) sequenceCclass).Count > 0)
          return sequenceCclass;
        else
          return (MT300.SequenceCClass) null;
      }
    }

    [Description("Split Settlement Details")]
    public MT300.SequenceDClass SequenceD
    {
      get
      {
        MT300.SequenceDClass sequenceDclass = new MT300.SequenceDClass((SwiftElement) this, 0, false);
        if (this.ListTags((SwiftElement) sequenceDclass).Count > 0)
          return sequenceDclass;
        else
          return (MT300.SequenceDClass) null;
      }
    }

    public MT300()
      : base(true)
    {
    }

    public MT300(SwiftMessage message)
      : base(message)
    {
    }

    public MT300.SequenceCClass AddSequenceC()
    {
      return this.SequenceC ?? new MT300.SequenceCClass((SwiftElement) this, 0, true);
    }

    public void RemoveSequenceC(MT300.SequenceCClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    public MT300.SequenceDClass AddSequenceD()
    {
      return this.SequenceD ?? new MT300.SequenceDClass((SwiftElement) this, 0, true);
    }

    public void RemoveSequenceD(MT300.SequenceDClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    internal override SwiftMessageDefinition MsgDefinition()
    {
      return MT300.MessageDefinition;
    }

    protected override void InitSwiftMessageDefinition()
    {
      MT300.MessageDefinition = new SwiftMessageDefinition("MT300", "Foreign Exchange Confirmation");
      MT300.U0002 = new SwiftTagSequenceDefinition("SequenceA", "General Information");
      MT300.U0003 = new SwiftTagDefinition("NewSequence_A_15A", "New Sequence");
      MT300.U0003.TagName = ":15A:";
      MT300.U0004 = new SwiftTagSubItemDefinition("NewSequence", "New Sequence");
      MT300.U0004.Mandatory = false;
      MT300.U0003.Elements.Add((SwiftDefinitionElement) MT300.U0004);
      MT300.U0002.Elements.Add((SwiftDefinitionElement) MT300.U0003);
      MT300.U0005 = new SwiftTagDefinition("SendersReference_A_20", "Senders Reference");
      MT300.U0005.TagName = ":20:";
      MT300.U0006 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT300.U0005.Elements.Add((SwiftDefinitionElement) MT300.U0006);
      MT300.U0002.Elements.Add((SwiftDefinitionElement) MT300.U0005);
      MT300.U0007 = new SwiftTagDefinition("RelatedReference_A_21", "Related Reference");
      MT300.U0007.TagName = ":21:";
      MT300.U0007.Mandatory = false;
      MT300.U0008 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT300.U0007.Elements.Add((SwiftDefinitionElement) MT300.U0008);
      MT300.U0002.Elements.Add((SwiftDefinitionElement) MT300.U0007);
      MT300.U000E = new SwiftTagDefinition("TypeOfOperation_A_22A", "Type of Operation");
      MT300.U000E.TagName = ":22A:";
      MT300.U000F = new SwiftTagSubItemDefinition("Type", "Type");
      MT300.U000E.Elements.Add((SwiftDefinitionElement) MT300.U000F);
      MT300.U0002.Elements.Add((SwiftDefinitionElement) MT300.U000E);
      MT300.U0010 = new SwiftTagDefinition("ScopeOfOperation_A_94A", "Scope Of Operation");
      MT300.U0010.TagName = ":94A:";
      MT300.U0010.Mandatory = false;
      MT300.U0011 = new SwiftTagSubItemDefinition("Scope", "Scope");
      MT300.U0010.Elements.Add((SwiftDefinitionElement) MT300.U0011);
      MT300.U0002.Elements.Add((SwiftDefinitionElement) MT300.U0010);
      MT300.U0012 = new SwiftTagDefinition("CommonReference_A_22C", "Common Reference");
      MT300.U0012.TagName = ":22C:";
      MT300.U0002.Elements.Add((SwiftDefinitionElement) MT300.U0012);
      MT300.U0013 = new SwiftTagDefinition("BlockTradeIndicator_A_17T", "Block Trade Indicator");
      MT300.U0013.TagName = ":17T:";
      MT300.U0013.Mandatory = false;
      MT300.U0014 = new SwiftTagSubItemDefinition("Indicator", "");
      MT300.U0013.Elements.Add((SwiftDefinitionElement) MT300.U0014);
      MT300.U0002.Elements.Add((SwiftDefinitionElement) MT300.U0013);
      MT300.U0015 = new SwiftTagDefinition("SplitSettlementIndicator_A_17U", "Split Settlement Indicator");
      MT300.U0015.TagName = ":17U:";
      MT300.U0015.Mandatory = false;
      MT300.U0016 = new SwiftTagSubItemDefinition("Indicator", "");
      MT300.U0015.Elements.Add((SwiftDefinitionElement) MT300.U0016);
      MT300.U0002.Elements.Add((SwiftDefinitionElement) MT300.U0015);
      MT300.U0017 = new SwiftTagChoiceDefinition("Choice", "");
      MT300.U0017.Multiple = true;
      MT300.U0018 = new SwiftTagDefinition("PartyA_A_82A", "Party A");
      MT300.U0018.TagName = ":82A:";
      MT300.U0019 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U0019.Mandatory = false;
      MT300.U0018.Elements.Add((SwiftDefinitionElement) MT300.U0019);
      MT300.U001A = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT300.U0018.Elements.Add((SwiftDefinitionElement) MT300.U001A);
      MT300.U0017.Elements.Add((SwiftDefinitionElement) MT300.U0018);
      MT300.U001B = new SwiftTagDefinition("PartyA_A_82D", "Party A");
      MT300.U001B.TagName = ":82D:";
      MT300.U001C = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U001C.Mandatory = false;
      MT300.U001B.Elements.Add((SwiftDefinitionElement) MT300.U001C);
      MT300.U001D = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT300.U001B.Elements.Add((SwiftDefinitionElement) MT300.U001D);
      MT300.U0017.Elements.Add((SwiftDefinitionElement) MT300.U001B);
      MT300.U001E = new SwiftTagDefinition("PartyA_A_82J", "Party A");
      MT300.U001E.TagName = ":82J:";
      MT300.U001F = new SwiftTagSubItemDefinition("PartyIdentification2", "Party Identification");
      MT300.U001E.Elements.Add((SwiftDefinitionElement) MT300.U001F);
      MT300.U0017.Elements.Add((SwiftDefinitionElement) MT300.U001E);
      MT300.U0002.Elements.Add((SwiftDefinitionElement) MT300.U0017);
      MT300.U007F = new SwiftTagChoiceDefinition("Choice", "");
      MT300.U007F.Multiple = true;
      MT300.U0080 = new SwiftTagDefinition("PartyB_A_87A", "Party B");
      MT300.U0080.TagName = ":87A:";
      MT300.U0081 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U0081.Mandatory = false;
      MT300.U0080.Elements.Add((SwiftDefinitionElement) MT300.U0081);
      MT300.U0082 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT300.U0080.Elements.Add((SwiftDefinitionElement) MT300.U0082);
      MT300.U007F.Elements.Add((SwiftDefinitionElement) MT300.U0080);
      MT300.U0083 = new SwiftTagDefinition("PartyB_A_87D", "Party B");
      MT300.U0083.TagName = ":87D:";
      MT300.U0084 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U0084.Mandatory = false;
      MT300.U0083.Elements.Add((SwiftDefinitionElement) MT300.U0084);
      MT300.U0086 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT300.U0083.Elements.Add((SwiftDefinitionElement) MT300.U0086);
      MT300.U007F.Elements.Add((SwiftDefinitionElement) MT300.U0083);
      MT300.U0087 = new SwiftTagDefinition("PartyB_A_87J", "Party B");
      MT300.U0087.TagName = ":87J:";
      MT300.U0088 = new SwiftTagSubItemDefinition("PartyIdentification2", "Party Identification");
      MT300.U0087.Elements.Add((SwiftDefinitionElement) MT300.U0088);
      MT300.U007F.Elements.Add((SwiftDefinitionElement) MT300.U0087);
      MT300.U0002.Elements.Add((SwiftDefinitionElement) MT300.U007F);
      MT300.U0089 = new SwiftTagChoiceDefinition("Choice", "");
      MT300.U0089.Mandatory = false;
      MT300.U0089.Multiple = true;
      MT300.U008A = new SwiftTagDefinition("FundOrBeneficiaryCustomer_A_83A", "Fund or Beneficiary Customer");
      MT300.U008A.TagName = ":83A:";
      MT300.U008B = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U008B.Mandatory = false;
      MT300.U008A.Elements.Add((SwiftDefinitionElement) MT300.U008B);
      MT300.U008C = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT300.U008A.Elements.Add((SwiftDefinitionElement) MT300.U008C);
      MT300.U0089.Elements.Add((SwiftDefinitionElement) MT300.U008A);
      MT300.U008D = new SwiftTagDefinition("FundOrBeneficiaryCustomer_A_83D", "Fund or Beneficiary Customer");
      MT300.U008D.TagName = ":83D:";
      MT300.U008E = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U008E.Mandatory = false;
      MT300.U008D.Elements.Add((SwiftDefinitionElement) MT300.U008E);
      MT300.U008F = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT300.U008D.Elements.Add((SwiftDefinitionElement) MT300.U008F);
      MT300.U0089.Elements.Add((SwiftDefinitionElement) MT300.U008D);
      MT300.U0090 = new SwiftTagDefinition("FundOrBeneficiaryCustomer_A_83J", "Fund or Beneficiary Customer");
      MT300.U0090.TagName = ":83J:";
      MT300.U0091 = new SwiftTagSubItemDefinition("PartyIdentification2", "Party Identification");
      MT300.U0090.Elements.Add((SwiftDefinitionElement) MT300.U0091);
      MT300.U0089.Elements.Add((SwiftDefinitionElement) MT300.U0090);
      MT300.U0002.Elements.Add((SwiftDefinitionElement) MT300.U0089);
      MT300.U0092 = new SwiftTagDefinition("TermsAndConditions_A_77D", "Terms and Conditions");
      MT300.U0092.TagName = ":77D:";
      MT300.U0092.Mandatory = false;
      MT300.U0002.Elements.Add((SwiftDefinitionElement) MT300.U0092);
      MT300.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT300.U0002);
      MT300.U0093 = new SwiftTagSequenceDefinition("SequenceB", "Transaction Details");
      MT300.U0094 = new SwiftTagDefinition("NewSequence_B_15B", "New Sequence");
      MT300.U0094.TagName = ":15B:";
      MT300.U0095 = new SwiftTagSubItemDefinition("NewSequence", "New Sequence");
      MT300.U0095.Mandatory = false;
      MT300.U0094.Elements.Add((SwiftDefinitionElement) MT300.U0095);
      MT300.U0093.Elements.Add((SwiftDefinitionElement) MT300.U0094);
      MT300.U0096 = new SwiftTagDefinition("TradeDate_B_30T", "Trade Date");
      MT300.U0096.TagName = ":30T:";
      MT300.U0097 = new SwiftTagSubItemDefinition("Date", "Date");
      MT300.U0096.Elements.Add((SwiftDefinitionElement) MT300.U0097);
      MT300.U0093.Elements.Add((SwiftDefinitionElement) MT300.U0096);
      MT300.U0098 = new SwiftTagDefinition("ValueDate_B_30V", "Value Date");
      MT300.U0098.TagName = ":30V:";
      MT300.U0099 = new SwiftTagSubItemDefinition("Date", "Date");
      MT300.U0098.Elements.Add((SwiftDefinitionElement) MT300.U0099);
      MT300.U0093.Elements.Add((SwiftDefinitionElement) MT300.U0098);
      MT300.U009A = new SwiftTagDefinition("ExchangeRate_B_36", "Exchange Rate");
      MT300.U009A.TagName = ":36:";
      MT300.U009B = new SwiftTagSubItemDefinition("Rate", "Rate");
      MT300.U009A.Elements.Add((SwiftDefinitionElement) MT300.U009B);
      MT300.U0093.Elements.Add((SwiftDefinitionElement) MT300.U009A);
      MT300.U009C = new SwiftTagSequenceDefinition("SequenceB1", "Amount Bought");
      MT300.U009D = new SwiftTagDefinition("CurrencyAmount_B1_32B", "Currency, Amount");
      MT300.U009D.TagName = ":32B:";
      MT300.U009E = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT300.U009D.Elements.Add((SwiftDefinitionElement) MT300.U009E);
      MT300.U009F = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT300.U009D.Elements.Add((SwiftDefinitionElement) MT300.U009F);
      MT300.U009C.Elements.Add((SwiftDefinitionElement) MT300.U009D);
      MT300.U0001U0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT300.U0001U0002.Mandatory = false;
      MT300.U0001U0002.Multiple = true;
      MT300.U0002U0002 = new SwiftTagDefinition("DeliveryAgent_B1_53A", "Delivery Agent");
      MT300.U0002U0002.TagName = ":53A:";
      MT300.U0003U0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U0003U0002.Mandatory = false;
      MT300.U0002U0002.Elements.Add((SwiftDefinitionElement) MT300.U0003U0002);
      MT300.U0004U0002 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT300.U0002U0002.Elements.Add((SwiftDefinitionElement) MT300.U0004U0002);
      MT300.U0001U0002.Elements.Add((SwiftDefinitionElement) MT300.U0002U0002);
      MT300.U0005U0002 = new SwiftTagDefinition("DeliveryAgent_B1_53D", "Delivery Agent");
      MT300.U0005U0002.TagName = ":53D:";
      MT300.U0006U0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U0006U0002.Mandatory = false;
      MT300.U0005U0002.Elements.Add((SwiftDefinitionElement) MT300.U0006U0002);
      MT300.U0007U0002 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT300.U0005U0002.Elements.Add((SwiftDefinitionElement) MT300.U0007U0002);
      MT300.U0001U0002.Elements.Add((SwiftDefinitionElement) MT300.U0005U0002);
      MT300.U0008U0002 = new SwiftTagDefinition("DeliveryAgent_B1_53J", "Delivery Agent");
      MT300.U0008U0002.TagName = ":53J:";
      MT300.U0001U0002.Elements.Add((SwiftDefinitionElement) MT300.U0008U0002);
      MT300.U009C.Elements.Add((SwiftDefinitionElement) MT300.U0001U0002);
      MT300.U000EU0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT300.U000EU0002.Mandatory = false;
      MT300.U000EU0002.Multiple = true;
      MT300.U000FU0002 = new SwiftTagDefinition("Intermediary_B1_56A", "Intermediary");
      MT300.U000FU0002.TagName = ":56A:";
      MT300.U0010U0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U0010U0002.Mandatory = false;
      MT300.U000FU0002.Elements.Add((SwiftDefinitionElement) MT300.U0010U0002);
      MT300.U0011U0002 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT300.U000FU0002.Elements.Add((SwiftDefinitionElement) MT300.U0011U0002);
      MT300.U000EU0002.Elements.Add((SwiftDefinitionElement) MT300.U000FU0002);
      MT300.U0012U0002 = new SwiftTagDefinition("Intermediary_B1_56D", "Intermediary");
      MT300.U0012U0002.TagName = ":56D:";
      MT300.U0013U0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U0013U0002.Mandatory = false;
      MT300.U0012U0002.Elements.Add((SwiftDefinitionElement) MT300.U0013U0002);
      MT300.U0014U0002 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT300.U0012U0002.Elements.Add((SwiftDefinitionElement) MT300.U0014U0002);
      MT300.U000EU0002.Elements.Add((SwiftDefinitionElement) MT300.U0012U0002);
      MT300.U0015U0002 = new SwiftTagDefinition("Intermediary_B1_56J", "Intermediary");
      MT300.U0015U0002.TagName = ":56J:";
      MT300.U000EU0002.Elements.Add((SwiftDefinitionElement) MT300.U0015U0002);
      MT300.U009C.Elements.Add((SwiftDefinitionElement) MT300.U000EU0002);
      MT300.U0016U0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT300.U0016U0002.Multiple = true;
      MT300.U0017U0002 = new SwiftTagDefinition("ReceivingAgent_B1_57A", "Receiving Agent");
      MT300.U0017U0002.TagName = ":57A:";
      MT300.U0018U0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U0018U0002.Mandatory = false;
      MT300.U0017U0002.Elements.Add((SwiftDefinitionElement) MT300.U0018U0002);
      MT300.U0019U0002 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT300.U0017U0002.Elements.Add((SwiftDefinitionElement) MT300.U0019U0002);
      MT300.U0016U0002.Elements.Add((SwiftDefinitionElement) MT300.U0017U0002);
      MT300.U001AU0002 = new SwiftTagDefinition("ReceivingAgent_B1_57D", "Receiving Agent");
      MT300.U001AU0002.TagName = ":57D:";
      MT300.U001BU0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U001BU0002.Mandatory = false;
      MT300.U001AU0002.Elements.Add((SwiftDefinitionElement) MT300.U001BU0002);
      MT300.U001CU0002 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT300.U001AU0002.Elements.Add((SwiftDefinitionElement) MT300.U001CU0002);
      MT300.U0016U0002.Elements.Add((SwiftDefinitionElement) MT300.U001AU0002);
      MT300.U001DU0002 = new SwiftTagDefinition("ReceivingAgent_B1_57J", "Receiving Agent");
      MT300.U001DU0002.TagName = ":57J:";
      MT300.U0016U0002.Elements.Add((SwiftDefinitionElement) MT300.U001DU0002);
      MT300.U009C.Elements.Add((SwiftDefinitionElement) MT300.U0016U0002);
      MT300.U0093.Elements.Add((SwiftDefinitionElement) MT300.U009C);
      MT300.U001EU0002 = new SwiftTagSequenceDefinition("SequenceB2", "Amount Sold");
      MT300.U001FU0002 = new SwiftTagDefinition("CurrencyAmount_B2_33B", "Currency, Amount");
      MT300.U001FU0002.TagName = ":33B:";
      MT300.U007FU0002 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT300.U001FU0002.Elements.Add((SwiftDefinitionElement) MT300.U007FU0002);
      MT300.U0080U0002 = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT300.U001FU0002.Elements.Add((SwiftDefinitionElement) MT300.U0080U0002);
      MT300.U001EU0002.Elements.Add((SwiftDefinitionElement) MT300.U001FU0002);
      MT300.U0081U0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT300.U0081U0002.Mandatory = false;
      MT300.U0081U0002.Multiple = true;
      MT300.U0082U0002 = new SwiftTagDefinition("DeliveryAgent_B2_53A", "Delivery Agent");
      MT300.U0082U0002.TagName = ":53A:";
      MT300.U0083U0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U0083U0002.Mandatory = false;
      MT300.U0082U0002.Elements.Add((SwiftDefinitionElement) MT300.U0083U0002);
      MT300.U0084U0002 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT300.U0082U0002.Elements.Add((SwiftDefinitionElement) MT300.U0084U0002);
      MT300.U0081U0002.Elements.Add((SwiftDefinitionElement) MT300.U0082U0002);
      MT300.U0086U0002 = new SwiftTagDefinition("DeliveryAgent_B2_53D", "Delivery Agent");
      MT300.U0086U0002.TagName = ":53D:";
      MT300.U0087U0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U0087U0002.Mandatory = false;
      MT300.U0086U0002.Elements.Add((SwiftDefinitionElement) MT300.U0087U0002);
      MT300.U0088U0002 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT300.U0086U0002.Elements.Add((SwiftDefinitionElement) MT300.U0088U0002);
      MT300.U0081U0002.Elements.Add((SwiftDefinitionElement) MT300.U0086U0002);
      MT300.U0089U0002 = new SwiftTagDefinition("DeliveryAgent_B2_53J", "Delivery Agent");
      MT300.U0089U0002.TagName = ":53J:";
      MT300.U0081U0002.Elements.Add((SwiftDefinitionElement) MT300.U0089U0002);
      MT300.U001EU0002.Elements.Add((SwiftDefinitionElement) MT300.U0081U0002);
      MT300.U008AU0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT300.U008AU0002.Mandatory = false;
      MT300.U008AU0002.Multiple = true;
      MT300.U008BU0002 = new SwiftTagDefinition("Intermediary_B2_56A", "Intermediary");
      MT300.U008BU0002.TagName = ":56A:";
      MT300.U008CU0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U008CU0002.Mandatory = false;
      MT300.U008BU0002.Elements.Add((SwiftDefinitionElement) MT300.U008CU0002);
      MT300.U008DU0002 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT300.U008BU0002.Elements.Add((SwiftDefinitionElement) MT300.U008DU0002);
      MT300.U008AU0002.Elements.Add((SwiftDefinitionElement) MT300.U008BU0002);
      MT300.U008EU0002 = new SwiftTagDefinition("Intermediary_B2_56D", "Intermediary");
      MT300.U008EU0002.TagName = ":56D:";
      MT300.U008FU0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U008FU0002.Mandatory = false;
      MT300.U008EU0002.Elements.Add((SwiftDefinitionElement) MT300.U008FU0002);
      MT300.U0090U0002 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT300.U008EU0002.Elements.Add((SwiftDefinitionElement) MT300.U0090U0002);
      MT300.U008AU0002.Elements.Add((SwiftDefinitionElement) MT300.U008EU0002);
      MT300.U0091U0002 = new SwiftTagDefinition("Intermediary_B2_56J", "Intermediary");
      MT300.U0091U0002.TagName = ":56J:";
      MT300.U008AU0002.Elements.Add((SwiftDefinitionElement) MT300.U0091U0002);
      MT300.U001EU0002.Elements.Add((SwiftDefinitionElement) MT300.U008AU0002);
      MT300.U0092U0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT300.U0092U0002.Multiple = true;
      MT300.U0093U0002 = new SwiftTagDefinition("ReceivingAgent_B2_57A", "Receiving Agent");
      MT300.U0093U0002.TagName = ":57A:";
      MT300.U0094U0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U0094U0002.Mandatory = false;
      MT300.U0093U0002.Elements.Add((SwiftDefinitionElement) MT300.U0094U0002);
      MT300.U0095U0002 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT300.U0093U0002.Elements.Add((SwiftDefinitionElement) MT300.U0095U0002);
      MT300.U0092U0002.Elements.Add((SwiftDefinitionElement) MT300.U0093U0002);
      MT300.U0096U0002 = new SwiftTagDefinition("ReceivingAgent_B2_57D", "Receiving Agent");
      MT300.U0096U0002.TagName = ":57D:";
      MT300.U0097U0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U0097U0002.Mandatory = false;
      MT300.U0096U0002.Elements.Add((SwiftDefinitionElement) MT300.U0097U0002);
      MT300.U0098U0002 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT300.U0096U0002.Elements.Add((SwiftDefinitionElement) MT300.U0098U0002);
      MT300.U0092U0002.Elements.Add((SwiftDefinitionElement) MT300.U0096U0002);
      MT300.U0099U0002 = new SwiftTagDefinition("ReceivingAgent_B2_57J", "Receiving Agent");
      MT300.U0099U0002.TagName = ":57J:";
      MT300.U0092U0002.Elements.Add((SwiftDefinitionElement) MT300.U0099U0002);
      MT300.U001EU0002.Elements.Add((SwiftDefinitionElement) MT300.U0092U0002);
      MT300.U009AU0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT300.U009AU0002.Mandatory = false;
      MT300.U009AU0002.Multiple = true;
      MT300.U009BU0002 = new SwiftTagDefinition("BeneficiaryInstitution_B2_58A", "Beneficiary Institution");
      MT300.U009BU0002.TagName = ":58A:";
      MT300.U009CU0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U009CU0002.Mandatory = false;
      MT300.U009BU0002.Elements.Add((SwiftDefinitionElement) MT300.U009CU0002);
      MT300.U009DU0002 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT300.U009BU0002.Elements.Add((SwiftDefinitionElement) MT300.U009DU0002);
      MT300.U009AU0002.Elements.Add((SwiftDefinitionElement) MT300.U009BU0002);
      MT300.U009EU0002 = new SwiftTagDefinition("BeneficiaryInstitution_B2_58D", "Beneficiary Institution");
      MT300.U009EU0002.TagName = ":58D:";
      MT300.U009FU0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U009FU0002.Mandatory = false;
      MT300.U009EU0002.Elements.Add((SwiftDefinitionElement) MT300.U009FU0002);
      MT300.U0001U0003 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT300.U009EU0002.Elements.Add((SwiftDefinitionElement) MT300.U0001U0003);
      MT300.U009AU0002.Elements.Add((SwiftDefinitionElement) MT300.U009EU0002);
      MT300.U0002U0003 = new SwiftTagDefinition("BeneficiaryInstitution_B2_58J", "Beneficiary Institution");
      MT300.U0002U0003.TagName = ":58J:";
      MT300.U0003U0003 = new SwiftTagSubItemDefinition("PartyIdentification2", "Party Identification");
      MT300.U0002U0003.Elements.Add((SwiftDefinitionElement) MT300.U0003U0003);
      MT300.U009AU0002.Elements.Add((SwiftDefinitionElement) MT300.U0002U0003);
      MT300.U001EU0002.Elements.Add((SwiftDefinitionElement) MT300.U009AU0002);
      MT300.U0093.Elements.Add((SwiftDefinitionElement) MT300.U001EU0002);
      MT300.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT300.U0093);
      MT300.U0004U0003 = new SwiftTagSequenceDefinition("SequenceC", "Optional General Information");
      MT300.U0004U0003.Mandatory = false;
      MT300.U0005U0003 = new SwiftTagDefinition("NewSequence_C_15C", "New Sequence");
      MT300.U0005U0003.TagName = ":15C:";
      MT300.U0006U0003 = new SwiftTagSubItemDefinition("NewSequence", "New Sequence");
      MT300.U0006U0003.Mandatory = false;
      MT300.U0005U0003.Elements.Add((SwiftDefinitionElement) MT300.U0006U0003);
      MT300.U0004U0003.Elements.Add((SwiftDefinitionElement) MT300.U0005U0003);
      MT300.U0007U0003 = new SwiftTagDefinition("ContactInformation_C_29A", "Contact Information");
      MT300.U0007U0003.TagName = ":29A:";
      MT300.U0007U0003.Mandatory = false;
      MT300.U0004U0003.Elements.Add((SwiftDefinitionElement) MT300.U0007U0003);
      MT300.U0008U0003 = new SwiftTagDefinition("DealingMethod_C_24D", "Dealing Method");
      MT300.U0008U0003.TagName = ":24D:";
      MT300.U0008U0003.Mandatory = false;
      MT300.U000EU0003 = new SwiftTagSubItemDefinition("Method", "Method");
      MT300.U0008U0003.Elements.Add((SwiftDefinitionElement) MT300.U000EU0003);
      MT300.U000FU0003 = new SwiftTagSubItemDefinition("AdditionalInformation", "Additional Information");
      MT300.U000FU0003.Mandatory = false;
      MT300.U0010U0003 = new SwiftTagSubItemDefinition("AdditionalInformation_1", "Additional Information");
      MT300.U000FU0003.Elements.Add((SwiftDefinitionElement) MT300.U0010U0003);
      MT300.U0008U0003.Elements.Add((SwiftDefinitionElement) MT300.U000FU0003);
      MT300.U0004U0003.Elements.Add((SwiftDefinitionElement) MT300.U0008U0003);
      MT300.U0011U0003 = new SwiftTagChoiceDefinition("Choice", "");
      MT300.U0011U0003.Mandatory = false;
      MT300.U0011U0003.Multiple = true;
      MT300.U0012U0003 = new SwiftTagDefinition("DealingBranchPartyA_C_84A", "Dealing Branch Party A");
      MT300.U0012U0003.TagName = ":84A:";
      MT300.U0013U0003 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U0013U0003.Mandatory = false;
      MT300.U0012U0003.Elements.Add((SwiftDefinitionElement) MT300.U0013U0003);
      MT300.U0014U0003 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT300.U0012U0003.Elements.Add((SwiftDefinitionElement) MT300.U0014U0003);
      MT300.U0011U0003.Elements.Add((SwiftDefinitionElement) MT300.U0012U0003);
      MT300.U0015U0003 = new SwiftTagDefinition("DealingBranchPartyA_C_84B", "Dealing Branch Party A");
      MT300.U0015U0003.TagName = ":84B:";
      MT300.U0016U0003 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U0016U0003.Mandatory = false;
      MT300.U0015U0003.Elements.Add((SwiftDefinitionElement) MT300.U0016U0003);
      MT300.U0017U0003 = new SwiftTagSubItemDefinition("Location", "");
      MT300.U0017U0003.Mandatory = false;
      MT300.U0015U0003.Elements.Add((SwiftDefinitionElement) MT300.U0017U0003);
      MT300.U0011U0003.Elements.Add((SwiftDefinitionElement) MT300.U0015U0003);
      MT300.U0018U0003 = new SwiftTagDefinition("DealingBranchPartyA_C_84D", "Dealing Branch Party A");
      MT300.U0018U0003.TagName = ":84D:";
      MT300.U0019U0003 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U0019U0003.Mandatory = false;
      MT300.U0018U0003.Elements.Add((SwiftDefinitionElement) MT300.U0019U0003);
      MT300.U001AU0003 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT300.U0018U0003.Elements.Add((SwiftDefinitionElement) MT300.U001AU0003);
      MT300.U0011U0003.Elements.Add((SwiftDefinitionElement) MT300.U0018U0003);
      MT300.U001BU0003 = new SwiftTagDefinition("DealingBranchPartyA_C_84J", "Dealing Branch Party A");
      MT300.U001BU0003.TagName = ":84J:";
      MT300.U001CU0003 = new SwiftTagSubItemDefinition("PartyIdentification2", "Party Identification");
      MT300.U001BU0003.Elements.Add((SwiftDefinitionElement) MT300.U001CU0003);
      MT300.U0011U0003.Elements.Add((SwiftDefinitionElement) MT300.U001BU0003);
      MT300.U0004U0003.Elements.Add((SwiftDefinitionElement) MT300.U0011U0003);
      MT300.U001DU0003 = new SwiftTagChoiceDefinition("Choice", "");
      MT300.U001DU0003.Mandatory = false;
      MT300.U001DU0003.Multiple = true;
      MT300.U001EU0003 = new SwiftTagDefinition("DealingBranchPartyB_C_85A", "Dealing Branch Party B");
      MT300.U001EU0003.TagName = ":85A:";
      MT300.U001FU0003 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U001FU0003.Mandatory = false;
      MT300.U001EU0003.Elements.Add((SwiftDefinitionElement) MT300.U001FU0003);
      MT300.U007FU0003 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT300.U001EU0003.Elements.Add((SwiftDefinitionElement) MT300.U007FU0003);
      MT300.U001DU0003.Elements.Add((SwiftDefinitionElement) MT300.U001EU0003);
      MT300.U0080U0003 = new SwiftTagDefinition("DealingBranchPartyB_C_85B", "Dealing Branch Party B");
      MT300.U0080U0003.TagName = ":85B:";
      MT300.U0081U0003 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U0081U0003.Mandatory = false;
      MT300.U0080U0003.Elements.Add((SwiftDefinitionElement) MT300.U0081U0003);
      MT300.U0082U0003 = new SwiftTagSubItemDefinition("Location", "");
      MT300.U0082U0003.Mandatory = false;
      MT300.U0080U0003.Elements.Add((SwiftDefinitionElement) MT300.U0082U0003);
      MT300.U001DU0003.Elements.Add((SwiftDefinitionElement) MT300.U0080U0003);
      MT300.U0083U0003 = new SwiftTagDefinition("DealingBranchPartyB_C_85D", "Dealing Branch Party B");
      MT300.U0083U0003.TagName = ":85D:";
      MT300.U0084U0003 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U0084U0003.Mandatory = false;
      MT300.U0083U0003.Elements.Add((SwiftDefinitionElement) MT300.U0084U0003);
      MT300.U0086U0003 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT300.U0083U0003.Elements.Add((SwiftDefinitionElement) MT300.U0086U0003);
      MT300.U001DU0003.Elements.Add((SwiftDefinitionElement) MT300.U0083U0003);
      MT300.U0087U0003 = new SwiftTagDefinition("DealingBranchPartyB_C_85J", "Dealing Branch Party B");
      MT300.U0087U0003.TagName = ":85J:";
      MT300.U0088U0003 = new SwiftTagSubItemDefinition("PartyIdentification2", "Party Identification");
      MT300.U0087U0003.Elements.Add((SwiftDefinitionElement) MT300.U0088U0003);
      MT300.U001DU0003.Elements.Add((SwiftDefinitionElement) MT300.U0087U0003);
      MT300.U0004U0003.Elements.Add((SwiftDefinitionElement) MT300.U001DU0003);
      MT300.U0089U0003 = new SwiftTagChoiceDefinition("Choice", "");
      MT300.U0089U0003.Mandatory = false;
      MT300.U0089U0003.Multiple = true;
      MT300.U008AU0003 = new SwiftTagDefinition("BrokerIdentification_C_88A", "Broker Identification");
      MT300.U008AU0003.TagName = ":88A:";
      MT300.U008BU0003 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U008BU0003.Mandatory = false;
      MT300.U008AU0003.Elements.Add((SwiftDefinitionElement) MT300.U008BU0003);
      MT300.U008CU0003 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT300.U008AU0003.Elements.Add((SwiftDefinitionElement) MT300.U008CU0003);
      MT300.U0089U0003.Elements.Add((SwiftDefinitionElement) MT300.U008AU0003);
      MT300.U008DU0003 = new SwiftTagDefinition("BrokerIdentification_C_88D", "Broker Identification");
      MT300.U008DU0003.TagName = ":88D:";
      MT300.U008EU0003 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U008EU0003.Mandatory = false;
      MT300.U008DU0003.Elements.Add((SwiftDefinitionElement) MT300.U008EU0003);
      MT300.U008FU0003 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT300.U008DU0003.Elements.Add((SwiftDefinitionElement) MT300.U008FU0003);
      MT300.U0089U0003.Elements.Add((SwiftDefinitionElement) MT300.U008DU0003);
      MT300.U0090U0003 = new SwiftTagDefinition("BrokerIdentification_C_88J", "Broker Identification");
      MT300.U0090U0003.TagName = ":88J:";
      MT300.U0091U0003 = new SwiftTagSubItemDefinition("PartyIdentification2", "Party Identification");
      MT300.U0090U0003.Elements.Add((SwiftDefinitionElement) MT300.U0091U0003);
      MT300.U0089U0003.Elements.Add((SwiftDefinitionElement) MT300.U0090U0003);
      MT300.U0004U0003.Elements.Add((SwiftDefinitionElement) MT300.U0089U0003);
      MT300.U0092U0003 = new SwiftTagDefinition("BrokersCommission_C_71F", "Broker’s Commission");
      MT300.U0092U0003.TagName = ":71F:";
      MT300.U0092U0003.Mandatory = false;
      MT300.U0093U0003 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT300.U0092U0003.Elements.Add((SwiftDefinitionElement) MT300.U0093U0003);
      MT300.U0094U0003 = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT300.U0092U0003.Elements.Add((SwiftDefinitionElement) MT300.U0094U0003);
      MT300.U0004U0003.Elements.Add((SwiftDefinitionElement) MT300.U0092U0003);
      MT300.U0095U0003 = new SwiftTagDefinition("CounterpartysReference_C_26H", "Counterparty’s Reference");
      MT300.U0095U0003.TagName = ":26H:";
      MT300.U0095U0003.Mandatory = false;
      MT300.U0096U0003 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT300.U0095U0003.Elements.Add((SwiftDefinitionElement) MT300.U0096U0003);
      MT300.U0004U0003.Elements.Add((SwiftDefinitionElement) MT300.U0095U0003);
      MT300.U0097U0003 = new SwiftTagDefinition("BrokersReference_C_21G", "Broker’s Reference");
      MT300.U0097U0003.TagName = ":21G:";
      MT300.U0097U0003.Mandatory = false;
      MT300.U0098U0003 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT300.U0097U0003.Elements.Add((SwiftDefinitionElement) MT300.U0098U0003);
      MT300.U0004U0003.Elements.Add((SwiftDefinitionElement) MT300.U0097U0003);
      MT300.U0099U0003 = new SwiftTagDefinition("SenderToReceiverInformation_C_72", "Sender To Receiver Information");
      MT300.U0099U0003.TagName = ":72:";
      MT300.U0099U0003.Mandatory = false;
      MT300.U009AU0003 = new SwiftTagSubItemDefinition("Line1", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x]");
      MT300.U0099U0003.Elements.Add((SwiftDefinitionElement) MT300.U009AU0003);
      MT300.U009BU0003 = new SwiftTagSubItemDefinition("Line2", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT300.U009BU0003.Mandatory = false;
      MT300.U0099U0003.Elements.Add((SwiftDefinitionElement) MT300.U009BU0003);
      MT300.U009CU0003 = new SwiftTagSubItemDefinition("Line3", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT300.U009CU0003.Mandatory = false;
      MT300.U0099U0003.Elements.Add((SwiftDefinitionElement) MT300.U009CU0003);
      MT300.U009DU0003 = new SwiftTagSubItemDefinition("Line4", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT300.U009DU0003.Mandatory = false;
      MT300.U0099U0003.Elements.Add((SwiftDefinitionElement) MT300.U009DU0003);
      MT300.U009EU0003 = new SwiftTagSubItemDefinition("Line5", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT300.U009EU0003.Mandatory = false;
      MT300.U0099U0003.Elements.Add((SwiftDefinitionElement) MT300.U009EU0003);
      MT300.U009FU0003 = new SwiftTagSubItemDefinition("Line6", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT300.U009FU0003.Mandatory = false;
      MT300.U0099U0003.Elements.Add((SwiftDefinitionElement) MT300.U009FU0003);
      MT300.U0004U0003.Elements.Add((SwiftDefinitionElement) MT300.U0099U0003);
      MT300.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT300.U0004U0003);
      MT300.U0001U0004 = new SwiftTagSequenceDefinition("SequenceD", "Split Settlement Details");
      MT300.U0001U0004.Mandatory = false;
      MT300.U0002U0004 = new SwiftTagDefinition("NewSequence_D_15D", "New Sequence");
      MT300.U0002U0004.TagName = ":15D:";
      MT300.U0003U0004 = new SwiftTagSubItemDefinition("NewSequence", "New Sequence");
      MT300.U0003U0004.Mandatory = false;
      MT300.U0002U0004.Elements.Add((SwiftDefinitionElement) MT300.U0003U0004);
      MT300.U0001U0004.Elements.Add((SwiftDefinitionElement) MT300.U0002U0004);
      MT300.U0004U0004 = new SwiftTagSequenceDefinition("Sequence", "Buy (Sell) Indicator");
      MT300.U0004U0004.Multiple = true;
      MT300.U0005U0004 = new SwiftTagDefinition("BuySellIndicator_D_17A", "Buy (Sell) Indicator");
      MT300.U0005U0004.TagName = ":17A:";
      MT300.U0006U0004 = new SwiftTagSubItemDefinition("Indicator", "");
      MT300.U0005U0004.Elements.Add((SwiftDefinitionElement) MT300.U0006U0004);
      MT300.U0004U0004.Elements.Add((SwiftDefinitionElement) MT300.U0005U0004);
      MT300.U0007U0004 = new SwiftTagDefinition("CurrencyAmount_D_32B", "Currency, Amount");
      MT300.U0007U0004.TagName = ":32B:";
      MT300.U0008U0004 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT300.U0007U0004.Elements.Add((SwiftDefinitionElement) MT300.U0008U0004);
      MT300.U000EU0004 = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT300.U0007U0004.Elements.Add((SwiftDefinitionElement) MT300.U000EU0004);
      MT300.U0004U0004.Elements.Add((SwiftDefinitionElement) MT300.U0007U0004);
      MT300.U000FU0004 = new SwiftTagChoiceDefinition("Choice", "");
      MT300.U000FU0004.Mandatory = false;
      MT300.U000FU0004.Multiple = true;
      MT300.U0010U0004 = new SwiftTagDefinition("DeliveryAgent_D_53A", "Delivery Agent");
      MT300.U0010U0004.TagName = ":53A:";
      MT300.U0011U0004 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U0011U0004.Mandatory = false;
      MT300.U0010U0004.Elements.Add((SwiftDefinitionElement) MT300.U0011U0004);
      MT300.U0012U0004 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT300.U0010U0004.Elements.Add((SwiftDefinitionElement) MT300.U0012U0004);
      MT300.U000FU0004.Elements.Add((SwiftDefinitionElement) MT300.U0010U0004);
      MT300.U0013U0004 = new SwiftTagDefinition("DeliveryAgent_D_53D", "Delivery Agent");
      MT300.U0013U0004.TagName = ":53D:";
      MT300.U0014U0004 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U0014U0004.Mandatory = false;
      MT300.U0013U0004.Elements.Add((SwiftDefinitionElement) MT300.U0014U0004);
      MT300.U0015U0004 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT300.U0013U0004.Elements.Add((SwiftDefinitionElement) MT300.U0015U0004);
      MT300.U000FU0004.Elements.Add((SwiftDefinitionElement) MT300.U0013U0004);
      MT300.U0016U0004 = new SwiftTagDefinition("DeliveryAgent_D_53J", "Delivery Agent");
      MT300.U0016U0004.TagName = ":53J:";
      MT300.U000FU0004.Elements.Add((SwiftDefinitionElement) MT300.U0016U0004);
      MT300.U0004U0004.Elements.Add((SwiftDefinitionElement) MT300.U000FU0004);
      MT300.U0017U0004 = new SwiftTagChoiceDefinition("Choice", "");
      MT300.U0017U0004.Mandatory = false;
      MT300.U0017U0004.Multiple = true;
      MT300.U0018U0004 = new SwiftTagDefinition("Intermediary_D_56A", "Intermediary");
      MT300.U0018U0004.TagName = ":56A:";
      MT300.U0019U0004 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U0019U0004.Mandatory = false;
      MT300.U0018U0004.Elements.Add((SwiftDefinitionElement) MT300.U0019U0004);
      MT300.U001AU0004 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT300.U0018U0004.Elements.Add((SwiftDefinitionElement) MT300.U001AU0004);
      MT300.U0017U0004.Elements.Add((SwiftDefinitionElement) MT300.U0018U0004);
      MT300.U001BU0004 = new SwiftTagDefinition("Intermediary_D_56D", "Intermediary");
      MT300.U001BU0004.TagName = ":56D:";
      MT300.U001CU0004 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U001CU0004.Mandatory = false;
      MT300.U001BU0004.Elements.Add((SwiftDefinitionElement) MT300.U001CU0004);
      MT300.U001DU0004 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT300.U001BU0004.Elements.Add((SwiftDefinitionElement) MT300.U001DU0004);
      MT300.U0017U0004.Elements.Add((SwiftDefinitionElement) MT300.U001BU0004);
      MT300.U001EU0004 = new SwiftTagDefinition("Intermediary_D_56J", "Intermediary");
      MT300.U001EU0004.TagName = ":56J:";
      MT300.U0017U0004.Elements.Add((SwiftDefinitionElement) MT300.U001EU0004);
      MT300.U0004U0004.Elements.Add((SwiftDefinitionElement) MT300.U0017U0004);
      MT300.U001FU0004 = new SwiftTagChoiceDefinition("Choice", "");
      MT300.U001FU0004.Multiple = true;
      MT300.U007FU0004 = new SwiftTagDefinition("ReceivingAgent_D_57A", "Receiving Agent");
      MT300.U007FU0004.TagName = ":57A:";
      MT300.U0080U0004 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U0080U0004.Mandatory = false;
      MT300.U007FU0004.Elements.Add((SwiftDefinitionElement) MT300.U0080U0004);
      MT300.U0081U0004 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT300.U007FU0004.Elements.Add((SwiftDefinitionElement) MT300.U0081U0004);
      MT300.U001FU0004.Elements.Add((SwiftDefinitionElement) MT300.U007FU0004);
      MT300.U0082U0004 = new SwiftTagDefinition("ReceivingAgent_D_57D", "Receiving Agent");
      MT300.U0082U0004.TagName = ":57D:";
      MT300.U0083U0004 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U0083U0004.Mandatory = false;
      MT300.U0082U0004.Elements.Add((SwiftDefinitionElement) MT300.U0083U0004);
      MT300.U0084U0004 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT300.U0082U0004.Elements.Add((SwiftDefinitionElement) MT300.U0084U0004);
      MT300.U001FU0004.Elements.Add((SwiftDefinitionElement) MT300.U0082U0004);
      MT300.U0086U0004 = new SwiftTagDefinition("ReceivingAgent_D_57J", "Receiving Agent");
      MT300.U0086U0004.TagName = ":57J:";
      MT300.U001FU0004.Elements.Add((SwiftDefinitionElement) MT300.U0086U0004);
      MT300.U0004U0004.Elements.Add((SwiftDefinitionElement) MT300.U001FU0004);
      MT300.U0087U0004 = new SwiftTagChoiceDefinition("Choice", "");
      MT300.U0087U0004.Mandatory = false;
      MT300.U0087U0004.Multiple = true;
      MT300.U0088U0004 = new SwiftTagDefinition("BeneficiaryInstitution_D_58A", "Beneficiary Institution");
      MT300.U0088U0004.TagName = ":58A:";
      MT300.U0089U0004 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U0089U0004.Mandatory = false;
      MT300.U0088U0004.Elements.Add((SwiftDefinitionElement) MT300.U0089U0004);
      MT300.U008AU0004 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT300.U0088U0004.Elements.Add((SwiftDefinitionElement) MT300.U008AU0004);
      MT300.U0087U0004.Elements.Add((SwiftDefinitionElement) MT300.U0088U0004);
      MT300.U008BU0004 = new SwiftTagDefinition("BeneficiaryInstitution_D_58D", "Beneficiary Institution");
      MT300.U008BU0004.TagName = ":58D:";
      MT300.U008CU0004 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT300.U008CU0004.Mandatory = false;
      MT300.U008BU0004.Elements.Add((SwiftDefinitionElement) MT300.U008CU0004);
      MT300.U008DU0004 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT300.U008BU0004.Elements.Add((SwiftDefinitionElement) MT300.U008DU0004);
      MT300.U0087U0004.Elements.Add((SwiftDefinitionElement) MT300.U008BU0004);
      MT300.U008EU0004 = new SwiftTagDefinition("BeneficiaryInstitution_D_58J", "Beneficiary Institution");
      MT300.U008EU0004.TagName = ":58J:";
      MT300.U008FU0004 = new SwiftTagSubItemDefinition("PartyIdentification2", "Party Identification");
      MT300.U008EU0004.Elements.Add((SwiftDefinitionElement) MT300.U008FU0004);
      MT300.U0087U0004.Elements.Add((SwiftDefinitionElement) MT300.U008EU0004);
      MT300.U0004U0004.Elements.Add((SwiftDefinitionElement) MT300.U0087U0004);
      MT300.U0001U0004.Elements.Add((SwiftDefinitionElement) MT300.U0004U0004);
      MT300.U0090U0004 = new SwiftTagDefinition("NumberOfSettlements_D_16A", "Number of Settlements");
      MT300.U0090U0004.TagName = ":16A:";
      MT300.U0091U0004 = new SwiftTagSubItemDefinition("Number", "Number");
      MT300.U0090U0004.Elements.Add((SwiftDefinitionElement) MT300.U0091U0004);
      MT300.U0001U0004.Elements.Add((SwiftDefinitionElement) MT300.U0090U0004);
      MT300.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT300.U0001U0004);
    }

    public class SequenceAClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT300.U0002;
        }
      }

      [Description("New Sequence")]
      public Tag15A NewSequence_A_15A
      {
        get
        {
          return new Tag15A((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0003);
        }
      }

      [Description("New Sequence")]
      public Tag15A Tag15A_NewSequence_A
      {
        get
        {
          return this.NewSequence_A_15A;
        }
      }

      [Description("Senders Reference")]
      public Tag20 SendersReference_A_20
      {
        get
        {
          return new Tag20((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0005);
        }
      }

      [Description("Senders Reference")]
      public Tag20 Tag20_SendersReference_A
      {
        get
        {
          return this.SendersReference_A_20;
        }
      }

      [Description("Related Reference")]
      public Tag21 RelatedReference_A_21
      {
        get
        {
          return new Tag21((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0007);
        }
      }

      [Description("Related Reference")]
      public Tag21 Tag21_RelatedReference_A
      {
        get
        {
          return this.RelatedReference_A_21;
        }
      }

      [Description("Type of Operation")]
      public MT300.SequenceAClass.Tag22A TypeOfOperation_A_22A
      {
        get
        {
          return new MT300.SequenceAClass.Tag22A((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U000E);
        }
      }

      [Description("Type of Operation")]
      public MT300.SequenceAClass.Tag22A Tag22A_TypeOfOperation_A
      {
        get
        {
          return this.TypeOfOperation_A_22A;
        }
      }

      [Description("Scope Of Operation")]
      public Tag94A ScopeOfOperation_A_94A
      {
        get
        {
          return new Tag94A((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0010);
        }
      }

      [Description("Scope Of Operation")]
      public Tag94A Tag94A_ScopeOfOperation_A
      {
        get
        {
          return this.ScopeOfOperation_A_94A;
        }
      }

      [Description("Common Reference")]
      public Tag22C CommonReference_A_22C
      {
        get
        {
          return new Tag22C((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0012);
        }
      }

      [Description("Common Reference")]
      public Tag22C Tag22C_CommonReference_A
      {
        get
        {
          return this.CommonReference_A_22C;
        }
      }

      [Description("Block Trade Indicator")]
      public Tag17T BlockTradeIndicator_A_17T
      {
        get
        {
          return new Tag17T((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0013);
        }
      }

      [Description("Block Trade Indicator")]
      public Tag17T Tag17T_BlockTradeIndicator_A
      {
        get
        {
          return this.BlockTradeIndicator_A_17T;
        }
      }

      [Description("Split Settlement Indicator")]
      public Tag17U SplitSettlementIndicator_A_17U
      {
        get
        {
          return new Tag17U((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0015);
        }
      }

      [Description("Split Settlement Indicator")]
      public Tag17U Tag17U_SplitSettlementIndicator_A
      {
        get
        {
          return this.SplitSettlementIndicator_A_17U;
        }
      }

      [Description("Party A")]
      public Tag82A PartyA_A_82A
      {
        get
        {
          return new Tag82A((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0018);
        }
      }

      [Description("Party A")]
      public Tag82A Tag82A_PartyA_A
      {
        get
        {
          return this.PartyA_A_82A;
        }
      }

      [Description("Party A")]
      public Tag82D PartyA_A_82D
      {
        get
        {
          return new Tag82D((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U001B);
        }
      }

      [Description("Party A")]
      public Tag82D Tag82D_PartyA_A
      {
        get
        {
          return this.PartyA_A_82D;
        }
      }

      [Description("Party A")]
      public Tag82J PartyA_A_82J
      {
        get
        {
          return new Tag82J((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U001E);
        }
      }

      [Description("Party A")]
      public Tag82J Tag82J_PartyA_A
      {
        get
        {
          return this.PartyA_A_82J;
        }
      }

      [Description("Party B")]
      public Tag87A PartyB_A_87A
      {
        get
        {
          return new Tag87A((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0080);
        }
      }

      [Description("Party B")]
      public Tag87A Tag87A_PartyB_A
      {
        get
        {
          return this.PartyB_A_87A;
        }
      }

      [Description("Party B")]
      public Tag87D PartyB_A_87D
      {
        get
        {
          return new Tag87D((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0083);
        }
      }

      [Description("Party B")]
      public Tag87D Tag87D_PartyB_A
      {
        get
        {
          return this.PartyB_A_87D;
        }
      }

      [Description("Party B")]
      public Tag87J PartyB_A_87J
      {
        get
        {
          return new Tag87J((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0087);
        }
      }

      [Description("Party B")]
      public Tag87J Tag87J_PartyB_A
      {
        get
        {
          return this.PartyB_A_87J;
        }
      }

      [Description("Fund or Beneficiary Customer")]
      public Tag83A FundOrBeneficiaryCustomer_A_83A
      {
        get
        {
          return new Tag83A((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U008A);
        }
      }

      [Description("Fund or Beneficiary Customer")]
      public Tag83A Tag83A_FundOrBeneficiaryCustomer_A
      {
        get
        {
          return this.FundOrBeneficiaryCustomer_A_83A;
        }
      }

      [Description("Fund or Beneficiary Customer")]
      public Tag83D FundOrBeneficiaryCustomer_A_83D
      {
        get
        {
          return new Tag83D((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U008D);
        }
      }

      [Description("Fund or Beneficiary Customer")]
      public Tag83D Tag83D_FundOrBeneficiaryCustomer_A
      {
        get
        {
          return this.FundOrBeneficiaryCustomer_A_83D;
        }
      }

      [Description("Fund or Beneficiary Customer")]
      public Tag83J FundOrBeneficiaryCustomer_A_83J
      {
        get
        {
          return new Tag83J((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0090);
        }
      }

      [Description("Fund or Beneficiary Customer")]
      public Tag83J Tag83J_FundOrBeneficiaryCustomer_A
      {
        get
        {
          return this.FundOrBeneficiaryCustomer_A_83J;
        }
      }

      [Description("Terms and Conditions")]
      public Tag77D TermsAndConditions_A_77D
      {
        get
        {
          return new Tag77D((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0092);
        }
      }

      [Description("Terms and Conditions")]
      public Tag77D Tag77D_TermsAndConditions_A
      {
        get
        {
          return this.TermsAndConditions_A_77D;
        }
      }

      internal SequenceAClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public class Tag22A : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("22A", value);
          }
        }

        internal Tag22A(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }
    }

    public class SequenceBClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT300.U0093;
        }
      }

      [Description("New Sequence")]
      public Tag15B NewSequence_B_15B
      {
        get
        {
          return new Tag15B((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0094);
        }
      }

      [Description("New Sequence")]
      public Tag15B Tag15B_NewSequence_B
      {
        get
        {
          return this.NewSequence_B_15B;
        }
      }

      [Description("Trade Date")]
      public Tag30T TradeDate_B_30T
      {
        get
        {
          return new Tag30T((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0096);
        }
      }

      [Description("Trade Date")]
      public Tag30T Tag30T_TradeDate_B
      {
        get
        {
          return this.TradeDate_B_30T;
        }
      }

      [Description("Value Date")]
      public Tag30V ValueDate_B_30V
      {
        get
        {
          return new Tag30V((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0098);
        }
      }

      [Description("Value Date")]
      public Tag30V Tag30V_ValueDate_B
      {
        get
        {
          return this.ValueDate_B_30V;
        }
      }

      [Description("Exchange Rate")]
      public Tag36 ExchangeRate_B_36
      {
        get
        {
          return new Tag36((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U009A);
        }
      }

      [Description("Exchange Rate")]
      public Tag36 Tag36_ExchangeRate_B
      {
        get
        {
          return this.ExchangeRate_B_36;
        }
      }

      [Description("Amount Bought")]
      public MT300.SequenceBClass.SequenceB1Class SequenceB1
      {
        get
        {
          return new MT300.SequenceBClass.SequenceB1Class((SwiftElement) this, 0, false);
        }
      }

      [Description("Amount Sold")]
      public MT300.SequenceBClass.SequenceB2Class SequenceB2
      {
        get
        {
          return new MT300.SequenceBClass.SequenceB2Class((SwiftElement) this, 0, false);
        }
      }

      internal SequenceBClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public class SequenceB1Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT300.U009C;
          }
        }

        [Description("Currency, Amount")]
        public Tag32B CurrencyAmount_B1_32B
        {
          get
          {
            return new Tag32B((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U009D);
          }
        }

        [Description("Currency, Amount")]
        public Tag32B Tag32B_CurrencyAmount_B1
        {
          get
          {
            return this.CurrencyAmount_B1_32B;
          }
        }

        [Description("Delivery Agent")]
        public Tag53A DeliveryAgent_B1_53A
        {
          get
          {
            return new Tag53A((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0002U0002);
          }
        }

        [Description("Delivery Agent")]
        public Tag53A Tag53A_DeliveryAgent_B1
        {
          get
          {
            return this.DeliveryAgent_B1_53A;
          }
        }

        [Description("Delivery Agent")]
        public Tag53D DeliveryAgent_B1_53D
        {
          get
          {
            return new Tag53D((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0005U0002);
          }
        }

        [Description("Delivery Agent")]
        public Tag53D Tag53D_DeliveryAgent_B1
        {
          get
          {
            return this.DeliveryAgent_B1_53D;
          }
        }

        [Description("Delivery Agent")]
        public Tag53J DeliveryAgent_B1_53J
        {
          get
          {
            return new Tag53J((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0008U0002);
          }
        }

        [Description("Delivery Agent")]
        public Tag53J Tag53J_DeliveryAgent_B1
        {
          get
          {
            return this.DeliveryAgent_B1_53J;
          }
        }

        [Description("Intermediary")]
        public Tag56A Intermediary_B1_56A
        {
          get
          {
            return new Tag56A((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U000FU0002);
          }
        }

        [Description("Intermediary")]
        public Tag56A Tag56A_Intermediary_B1
        {
          get
          {
            return this.Intermediary_B1_56A;
          }
        }

        [Description("Intermediary")]
        public Tag56D Intermediary_B1_56D
        {
          get
          {
            return new Tag56D((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0012U0002);
          }
        }

        [Description("Intermediary")]
        public Tag56D Tag56D_Intermediary_B1
        {
          get
          {
            return this.Intermediary_B1_56D;
          }
        }

        [Description("Intermediary")]
        public Tag56J Intermediary_B1_56J
        {
          get
          {
            return new Tag56J((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0015U0002);
          }
        }

        [Description("Intermediary")]
        public Tag56J Tag56J_Intermediary_B1
        {
          get
          {
            return this.Intermediary_B1_56J;
          }
        }

        [Description("Receiving Agent")]
        public Tag57A ReceivingAgent_B1_57A
        {
          get
          {
            return new Tag57A((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0017U0002);
          }
        }

        [Description("Receiving Agent")]
        public Tag57A Tag57A_ReceivingAgent_B1
        {
          get
          {
            return this.ReceivingAgent_B1_57A;
          }
        }

        [Description("Receiving Agent")]
        public Tag57D ReceivingAgent_B1_57D
        {
          get
          {
            return new Tag57D((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U001AU0002);
          }
        }

        [Description("Receiving Agent")]
        public Tag57D Tag57D_ReceivingAgent_B1
        {
          get
          {
            return this.ReceivingAgent_B1_57D;
          }
        }

        [Description("Receiving Agent")]
        public Tag57J ReceivingAgent_B1_57J
        {
          get
          {
            return new Tag57J((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U001DU0002);
          }
        }

        [Description("Receiving Agent")]
        public Tag57J Tag57J_ReceivingAgent_B1
        {
          get
          {
            return this.ReceivingAgent_B1_57J;
          }
        }

        internal SequenceB1Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }
      }

      public class SequenceB2Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT300.U001EU0002;
          }
        }

        [Description("Currency, Amount")]
        public Tag33B CurrencyAmount_B2_33B
        {
          get
          {
            return new Tag33B((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U001FU0002);
          }
        }

        [Description("Currency, Amount")]
        public Tag33B Tag33B_CurrencyAmount_B2
        {
          get
          {
            return this.CurrencyAmount_B2_33B;
          }
        }

        [Description("Delivery Agent")]
        public Tag53A DeliveryAgent_B2_53A
        {
          get
          {
            return new Tag53A((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0082U0002);
          }
        }

        [Description("Delivery Agent")]
        public Tag53A Tag53A_DeliveryAgent_B2
        {
          get
          {
            return this.DeliveryAgent_B2_53A;
          }
        }

        [Description("Delivery Agent")]
        public Tag53D DeliveryAgent_B2_53D
        {
          get
          {
            return new Tag53D((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0086U0002);
          }
        }

        [Description("Delivery Agent")]
        public Tag53D Tag53D_DeliveryAgent_B2
        {
          get
          {
            return this.DeliveryAgent_B2_53D;
          }
        }

        [Description("Delivery Agent")]
        public Tag53J DeliveryAgent_B2_53J
        {
          get
          {
            return new Tag53J((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0089U0002);
          }
        }

        [Description("Delivery Agent")]
        public Tag53J Tag53J_DeliveryAgent_B2
        {
          get
          {
            return this.DeliveryAgent_B2_53J;
          }
        }

        [Description("Intermediary")]
        public Tag56A Intermediary_B2_56A
        {
          get
          {
            return new Tag56A((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U008BU0002);
          }
        }

        [Description("Intermediary")]
        public Tag56A Tag56A_Intermediary_B2
        {
          get
          {
            return this.Intermediary_B2_56A;
          }
        }

        [Description("Intermediary")]
        public Tag56D Intermediary_B2_56D
        {
          get
          {
            return new Tag56D((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U008EU0002);
          }
        }

        [Description("Intermediary")]
        public Tag56D Tag56D_Intermediary_B2
        {
          get
          {
            return this.Intermediary_B2_56D;
          }
        }

        [Description("Intermediary")]
        public Tag56J Intermediary_B2_56J
        {
          get
          {
            return new Tag56J((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0091U0002);
          }
        }

        [Description("Intermediary")]
        public Tag56J Tag56J_Intermediary_B2
        {
          get
          {
            return this.Intermediary_B2_56J;
          }
        }

        [Description("Receiving Agent")]
        public Tag57A ReceivingAgent_B2_57A
        {
          get
          {
            return new Tag57A((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0093U0002);
          }
        }

        [Description("Receiving Agent")]
        public Tag57A Tag57A_ReceivingAgent_B2
        {
          get
          {
            return this.ReceivingAgent_B2_57A;
          }
        }

        [Description("Receiving Agent")]
        public Tag57D ReceivingAgent_B2_57D
        {
          get
          {
            return new Tag57D((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0096U0002);
          }
        }

        [Description("Receiving Agent")]
        public Tag57D Tag57D_ReceivingAgent_B2
        {
          get
          {
            return this.ReceivingAgent_B2_57D;
          }
        }

        [Description("Receiving Agent")]
        public Tag57J ReceivingAgent_B2_57J
        {
          get
          {
            return new Tag57J((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0099U0002);
          }
        }

        [Description("Receiving Agent")]
        public Tag57J Tag57J_ReceivingAgent_B2
        {
          get
          {
            return this.ReceivingAgent_B2_57J;
          }
        }

        [Description("Beneficiary Institution")]
        public Tag58A BeneficiaryInstitution_B2_58A
        {
          get
          {
            return new Tag58A((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U009BU0002);
          }
        }

        [Description("Beneficiary Institution")]
        public Tag58A Tag58A_BeneficiaryInstitution_B2
        {
          get
          {
            return this.BeneficiaryInstitution_B2_58A;
          }
        }

        [Description("Beneficiary Institution")]
        public Tag58D BeneficiaryInstitution_B2_58D
        {
          get
          {
            return new Tag58D((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U009EU0002);
          }
        }

        [Description("Beneficiary Institution")]
        public Tag58D Tag58D_BeneficiaryInstitution_B2
        {
          get
          {
            return this.BeneficiaryInstitution_B2_58D;
          }
        }

        [Description("Beneficiary Institution")]
        public Tag58J BeneficiaryInstitution_B2_58J
        {
          get
          {
            return new Tag58J((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0002U0003);
          }
        }

        [Description("Beneficiary Institution")]
        public Tag58J Tag58J_BeneficiaryInstitution_B2
        {
          get
          {
            return this.BeneficiaryInstitution_B2_58J;
          }
        }

        internal SequenceB2Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }
      }
    }

    public class SequenceCClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT300.U0004U0003;
        }
      }

      [Description("New Sequence")]
      public Tag15C NewSequence_C_15C
      {
        get
        {
          return new Tag15C((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0005U0003);
        }
      }

      [Description("New Sequence")]
      public Tag15C Tag15C_NewSequence_C
      {
        get
        {
          return this.NewSequence_C_15C;
        }
      }

      [Description("Contact Information")]
      public Tag29A ContactInformation_C_29A
      {
        get
        {
          return new Tag29A((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0007U0003);
        }
      }

      [Description("Contact Information")]
      public Tag29A Tag29A_ContactInformation_C
      {
        get
        {
          return this.ContactInformation_C_29A;
        }
      }

      [Description("Dealing Method")]
      public MT300.SequenceCClass.Tag24D DealingMethod_C_24D
      {
        get
        {
          return new MT300.SequenceCClass.Tag24D((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0008U0003);
        }
      }

      [Description("Dealing Method")]
      public MT300.SequenceCClass.Tag24D Tag24D_DealingMethod_C
      {
        get
        {
          return this.DealingMethod_C_24D;
        }
      }

      [Description("Dealing Branch Party A")]
      public Tag84A DealingBranchPartyA_C_84A
      {
        get
        {
          return new Tag84A((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0012U0003);
        }
      }

      [Description("Dealing Branch Party A")]
      public Tag84A Tag84A_DealingBranchPartyA_C
      {
        get
        {
          return this.DealingBranchPartyA_C_84A;
        }
      }

      [Description("Dealing Branch Party A")]
      public Tag84B DealingBranchPartyA_C_84B
      {
        get
        {
          return new Tag84B((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0015U0003);
        }
      }

      [Description("Dealing Branch Party A")]
      public Tag84B Tag84B_DealingBranchPartyA_C
      {
        get
        {
          return this.DealingBranchPartyA_C_84B;
        }
      }

      [Description("Dealing Branch Party A")]
      public Tag84D DealingBranchPartyA_C_84D
      {
        get
        {
          return new Tag84D((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0018U0003);
        }
      }

      [Description("Dealing Branch Party A")]
      public Tag84D Tag84D_DealingBranchPartyA_C
      {
        get
        {
          return this.DealingBranchPartyA_C_84D;
        }
      }

      [Description("Dealing Branch Party A")]
      public Tag84J DealingBranchPartyA_C_84J
      {
        get
        {
          return new Tag84J((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U001BU0003);
        }
      }

      [Description("Dealing Branch Party A")]
      public Tag84J Tag84J_DealingBranchPartyA_C
      {
        get
        {
          return this.DealingBranchPartyA_C_84J;
        }
      }

      [Description("Dealing Branch Party B")]
      public Tag85A DealingBranchPartyB_C_85A
      {
        get
        {
          return new Tag85A((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U001EU0003);
        }
      }

      [Description("Dealing Branch Party B")]
      public Tag85A Tag85A_DealingBranchPartyB_C
      {
        get
        {
          return this.DealingBranchPartyB_C_85A;
        }
      }

      [Description("Dealing Branch Party B")]
      public Tag85B DealingBranchPartyB_C_85B
      {
        get
        {
          return new Tag85B((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0080U0003);
        }
      }

      [Description("Dealing Branch Party B")]
      public Tag85B Tag85B_DealingBranchPartyB_C
      {
        get
        {
          return this.DealingBranchPartyB_C_85B;
        }
      }

      [Description("Dealing Branch Party B")]
      public Tag85D DealingBranchPartyB_C_85D
      {
        get
        {
          return new Tag85D((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0083U0003);
        }
      }

      [Description("Dealing Branch Party B")]
      public Tag85D Tag85D_DealingBranchPartyB_C
      {
        get
        {
          return this.DealingBranchPartyB_C_85D;
        }
      }

      [Description("Dealing Branch Party B")]
      public Tag85J DealingBranchPartyB_C_85J
      {
        get
        {
          return new Tag85J((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0087U0003);
        }
      }

      [Description("Dealing Branch Party B")]
      public Tag85J Tag85J_DealingBranchPartyB_C
      {
        get
        {
          return this.DealingBranchPartyB_C_85J;
        }
      }

      [Description("Broker Identification")]
      public Tag88A BrokerIdentification_C_88A
      {
        get
        {
          return new Tag88A((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U008AU0003);
        }
      }

      [Description("Broker Identification")]
      public Tag88A Tag88A_BrokerIdentification_C
      {
        get
        {
          return this.BrokerIdentification_C_88A;
        }
      }

      [Description("Broker Identification")]
      public Tag88D BrokerIdentification_C_88D
      {
        get
        {
          return new Tag88D((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U008DU0003);
        }
      }

      [Description("Broker Identification")]
      public Tag88D Tag88D_BrokerIdentification_C
      {
        get
        {
          return this.BrokerIdentification_C_88D;
        }
      }

      [Description("Broker Identification")]
      public Tag88J BrokerIdentification_C_88J
      {
        get
        {
          return new Tag88J((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0090U0003);
        }
      }

      [Description("Broker Identification")]
      public Tag88J Tag88J_BrokerIdentification_C
      {
        get
        {
          return this.BrokerIdentification_C_88J;
        }
      }

      [Description("Broker’s Commission")]
      public Tag71F BrokersCommission_C_71F
      {
        get
        {
          return new Tag71F((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0092U0003);
        }
      }

      [Description("Broker’s Commission")]
      public Tag71F Tag71F_BrokersCommission_C
      {
        get
        {
          return this.BrokersCommission_C_71F;
        }
      }

      [Description("Counterparty’s Reference")]
      public MT300.SequenceCClass.Tag26H CounterpartysReference_C_26H
      {
        get
        {
          return new MT300.SequenceCClass.Tag26H((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0095U0003);
        }
      }

      [Description("Counterparty’s Reference")]
      public MT300.SequenceCClass.Tag26H Tag26H_CounterpartysReference_C
      {
        get
        {
          return this.CounterpartysReference_C_26H;
        }
      }

      [Description("Broker’s Reference")]
      public Tag21G BrokersReference_C_21G
      {
        get
        {
          return new Tag21G((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0097U0003);
        }
      }

      [Description("Broker’s Reference")]
      public Tag21G Tag21G_BrokersReference_C
      {
        get
        {
          return this.BrokersReference_C_21G;
        }
      }

      [Description("Sender To Receiver Information")]
      public Tag72 SenderToReceiverInformation_C_72
      {
        get
        {
          return new Tag72((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0099U0003);
        }
      }

      [Description("Sender To Receiver Information")]
      public Tag72 Tag72_SenderToReceiverInformation_C
      {
        get
        {
          return this.SenderToReceiverInformation_C_72;
        }
      }

      internal SequenceCClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public class Tag24D : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("24D", value);
          }
        }

        internal Tag24D(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }

      public class Tag26H : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("26H", value);
          }
        }

        internal Tag26H(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }
    }

    public class SequenceDClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT300.U0001U0004;
        }
      }

      [Description("New Sequence")]
      public Tag15D NewSequence_D_15D
      {
        get
        {
          return new Tag15D((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0002U0004);
        }
      }

      [Description("New Sequence")]
      public Tag15D Tag15D_NewSequence_D
      {
        get
        {
          return this.NewSequence_D_15D;
        }
      }

      [Description("Buy (Sell) Indicator")]
      public MT300.SequenceDClass.SequenceClass[] Sequence
      {
        get
        {
          int index = -1;
          List<MT300.SequenceDClass.SequenceClass> list = new List<MT300.SequenceDClass.SequenceClass>();
          int count;
          do
          {
            ++index;
            MT300.SequenceDClass.SequenceClass sequenceClass = new MT300.SequenceDClass.SequenceClass((SwiftElement) this, index, false);
            count = this.ListTags((SwiftElement) sequenceClass).Count;
            if (count > 0)
              list.Add(sequenceClass);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Number of Settlements")]
      public Tag16A NumberOfSettlements_D_16A
      {
        get
        {
          return new Tag16A((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0090U0004);
        }
      }

      [Description("Number of Settlements")]
      public Tag16A Tag16A_NumberOfSettlements_D
      {
        get
        {
          return this.NumberOfSettlements_D_16A;
        }
      }

      internal SequenceDClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public MT300.SequenceDClass.SequenceClass AddSequence()
      {
        return new MT300.SequenceDClass.SequenceClass((SwiftElement) this, this.Sequence.Length, true);
      }

      public void RemoveSequence(MT300.SequenceDClass.SequenceClass sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public class SequenceClass : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT300.U0004U0004;
          }
        }

        [Description("Buy (Sell) Indicator")]
        public Tag17A BuySellIndicator_D_17A
        {
          get
          {
            return new Tag17A((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0005U0004);
          }
        }

        [Description("Buy (Sell) Indicator")]
        public Tag17A Tag17A_BuySellIndicator_D
        {
          get
          {
            return this.BuySellIndicator_D_17A;
          }
        }

        [Description("Currency, Amount")]
        public Tag32B CurrencyAmount_D_32B
        {
          get
          {
            return new Tag32B((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0007U0004);
          }
        }

        [Description("Currency, Amount")]
        public Tag32B Tag32B_CurrencyAmount_D
        {
          get
          {
            return this.CurrencyAmount_D_32B;
          }
        }

        [Description("Delivery Agent")]
        public Tag53A DeliveryAgent_D_53A
        {
          get
          {
            return new Tag53A((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0010U0004);
          }
        }

        [Description("Delivery Agent")]
        public Tag53A Tag53A_DeliveryAgent_D
        {
          get
          {
            return this.DeliveryAgent_D_53A;
          }
        }

        [Description("Delivery Agent")]
        public Tag53D DeliveryAgent_D_53D
        {
          get
          {
            return new Tag53D((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0013U0004);
          }
        }

        [Description("Delivery Agent")]
        public Tag53D Tag53D_DeliveryAgent_D
        {
          get
          {
            return this.DeliveryAgent_D_53D;
          }
        }

        [Description("Delivery Agent")]
        public Tag53J DeliveryAgent_D_53J
        {
          get
          {
            return new Tag53J((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0016U0004);
          }
        }

        [Description("Delivery Agent")]
        public Tag53J Tag53J_DeliveryAgent_D
        {
          get
          {
            return this.DeliveryAgent_D_53J;
          }
        }

        [Description("Intermediary")]
        public Tag56A Intermediary_D_56A
        {
          get
          {
            return new Tag56A((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0018U0004);
          }
        }

        [Description("Intermediary")]
        public Tag56A Tag56A_Intermediary_D
        {
          get
          {
            return this.Intermediary_D_56A;
          }
        }

        [Description("Intermediary")]
        public Tag56D Intermediary_D_56D
        {
          get
          {
            return new Tag56D((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U001BU0004);
          }
        }

        [Description("Intermediary")]
        public Tag56D Tag56D_Intermediary_D
        {
          get
          {
            return this.Intermediary_D_56D;
          }
        }

        [Description("Intermediary")]
        public Tag56J Intermediary_D_56J
        {
          get
          {
            return new Tag56J((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U001EU0004);
          }
        }

        [Description("Intermediary")]
        public Tag56J Tag56J_Intermediary_D
        {
          get
          {
            return this.Intermediary_D_56J;
          }
        }

        [Description("Receiving Agent")]
        public Tag57A ReceivingAgent_D_57A
        {
          get
          {
            return new Tag57A((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U007FU0004);
          }
        }

        [Description("Receiving Agent")]
        public Tag57A Tag57A_ReceivingAgent_D
        {
          get
          {
            return this.ReceivingAgent_D_57A;
          }
        }

        [Description("Receiving Agent")]
        public Tag57D ReceivingAgent_D_57D
        {
          get
          {
            return new Tag57D((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0082U0004);
          }
        }

        [Description("Receiving Agent")]
        public Tag57D Tag57D_ReceivingAgent_D
        {
          get
          {
            return this.ReceivingAgent_D_57D;
          }
        }

        [Description("Receiving Agent")]
        public Tag57J ReceivingAgent_D_57J
        {
          get
          {
            return new Tag57J((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0086U0004);
          }
        }

        [Description("Receiving Agent")]
        public Tag57J Tag57J_ReceivingAgent_D
        {
          get
          {
            return this.ReceivingAgent_D_57J;
          }
        }

        [Description("Beneficiary Institution")]
        public Tag58A BeneficiaryInstitution_D_58A
        {
          get
          {
            return new Tag58A((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U0088U0004);
          }
        }

        [Description("Beneficiary Institution")]
        public Tag58A Tag58A_BeneficiaryInstitution_D
        {
          get
          {
            return this.BeneficiaryInstitution_D_58A;
          }
        }

        [Description("Beneficiary Institution")]
        public Tag58D BeneficiaryInstitution_D_58D
        {
          get
          {
            return new Tag58D((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U008BU0004);
          }
        }

        [Description("Beneficiary Institution")]
        public Tag58D Tag58D_BeneficiaryInstitution_D
        {
          get
          {
            return this.BeneficiaryInstitution_D_58D;
          }
        }

        [Description("Beneficiary Institution")]
        public Tag58J BeneficiaryInstitution_D_58J
        {
          get
          {
            return new Tag58J((SwiftElement) this, 0, (SwiftDefinitionElement) MT300.U008EU0004);
          }
        }

        [Description("Beneficiary Institution")]
        public Tag58J Tag58J_BeneficiaryInstitution_D
        {
          get
          {
            return this.BeneficiaryInstitution_D_58J;
          }
        }

        internal SequenceClass(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }
      }
    }
  }
}
